<!-- <%@ page contentType="text/html;charset=UTF-8" language="java" %> -->
<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>管理系统管理者提案审批</title>

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker-standalone.css" rel="stylesheet">


</head>
<body style="background-color:#EEEEEE;">
    <div style="padding: 20px;">
        <div class="container-fluid">
            <div class="row">
                <h1 style="text-align:center;color: #5BA9B8">能力规范文稿管理系统</h1>
                <div class="col-md-12">
                    <p th:text="'你好('+${name}+')'" class="pull-left" style="font-size: 15px"></p>
                    <a th:href="@{/logout}+ '?token=' + *{token}" role="button" class="btn btn-danger pull-right" style="margin-bottom:10px;">注销</a>
                    </p>
                </div>
                <div class="row">
                    <div class="col-md-3" >
                        <div style="background-color:#FFF;height: 700px;">
                            <div class="list-group">
                                <a href="#" class="list-group-item active" >
                                    管理者
                                </a>
                                <a th:href="@{/admin/home}+ '?token=' + *{token}" class="list-group-item">主页</a>
                                <a th:href="@{/admin/proposal/search}+ '?token=' + *{token}" class="list-group-item">提案列表</a>
                                <a th:href="@{/admin/proposal/create}+ '?token=' + *{token}" class="list-group-item">提案编制</a>
                                <a th:href="@{/admin/recommend/create}+ '?token=' + *{token}" class="list-group-item">推荐会员</a>
                                <a th:href="@{/admin/Pstandard}+ '?token=' + *{token}" class="list-group-item">规范编制</a>
                                <a th:href="@{/admin/standard/list}+ '?token=' + *{token}" class="list-group-item" >平台规范</a>
                                <a th:href="@{/admin/pass}+ '?token=' + *{token}" class="list-group-item" >会员审批</a>
                                <a th:href="@{/admin/proposal/pass}+ '?token=' + *{token}" class="list-group-item" style="background-color: #ddd">提案审批</a>
                                <a th:href="@{/admin/standard/pass}+ '?token=' + *{token}" class="list-group-item">规范审批</a>
                                <!--分发权限-->
                                <a th:href="@{/admin/helper/add}+ '?token=' + *{token}" class="list-group-item" >添加帮手</a>
                                <a th:href="@{/admin/edit}+ '?token=' + *{token}" class="list-group-item">信息维护</a>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-9">
                        <div style="background-color:#FFF;border-radius: 10px;  height: 700px;">
                            <div style="background-color:#fff; padding:20px;border-radius: 10px;">
                                <p style="font-size: 25px;font-weight: 600;">提案审批</p>
                                <hr>
                                <div style="clear: both ;font-size:17px;margin-left: 25%">
                                        <p style="float: left;">您当前的身份是：</p><p id="id" name="id" style="float: left;">行业分会</p><p style="float: left;margin-left: 20%"> 您当前的权限:</p><p id="Jurisdiction" name="Jurisdiction" style="float: left;">备案</p>
                                </div><br>
                            </div>
                            <div style="margin-left:10% ;width: 80%;">
                                <a href="#" role="button" class="btn btn-primary btn-lg disabled" style="width: 33%;">推荐（专委会）</a>
                                <a href="#" role="button" class="btn btn-primary btn-lg active" style="width: 33%;">备案（行业分会）</a>
                                <a href="#" role="button" class="btn btn-primary btn-lg disabled" style="width: 33%">立案（研究会）</a>
                                <form th:action="@{/admin/proposal/pass}+ '?token=' + *{token}" method="post">

                                    <table class="table table-hover">
                                        <tr>

                                            <th align="center">选择</th>
                                            <td align="center">编号</td>
                                            <td align="center">提案名称</td>
                                            <td align="center">提案人</td>
                                            <td align="center">查看提案</td>
                                        </tr>
                                            <tr  th:each="proposal,iterStat : ${proposals}" >
                                            <th  scope="row" align="center"> <input name="choose" th:value="${proposal.id}" type="checkbox"></th>
                                            <td th:text="${proposal.id}" align="center"></th>
                                            <td th:text="${proposal.title}" align="center"></td>
                                            <td th:text="${proposal.nameauthor}" align="center"></td>
                                            <td align="center"><a th:href="@{/admin/proposal/read} + '?proposal=' + ${proposal.id} + '&token=' + *{token}" class="btn btn-primary"  role="button" name="check" id="check">查看</a></td>
                                            </tr>
                                    </table>
                                    <div class="row">
                                        <div class="col-md-11">
                                        </div>
                                        <div class="col-md-1">
                                            <input  type= "submit" name="MaintainSubmit" id="MaintainSubmit" class="btn btn-primary" value="通过">
                                        </div>
                                    </div>
                                </form>
                            </div>   
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>